.class public Lcom/xingbook/paint/b/b;
.super Lcom/xingbook/paint/b/a;


# direct methods
.method public constructor <init>(Lcom/xingbook/paint/a/a/c;)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/xingbook/paint/b/a;-><init>(Lcom/xingbook/paint/a/a/c;)V

    return-void
.end method


# virtual methods
.method public a(Landroid/graphics/Canvas;Landroid/graphics/Paint;)V
    .locals 9

    const-wide/high16 v7, 0x4000

    const/high16 v6, 0x4000

    if-eqz p1, :cond_0

    if-nez p2, :cond_1

    :cond_0
    :goto_0
    return-void

    :cond_1
    invoke-super {p0, p1, p2}, Lcom/xingbook/paint/b/a;->a(Landroid/graphics/Canvas;Landroid/graphics/Paint;)V

    iget v0, p0, Lcom/xingbook/paint/b/b;->d:F

    iget v1, p0, Lcom/xingbook/paint/b/b;->f:F

    add-float/2addr v0, v1

    div-float/2addr v0, v6

    iget v1, p0, Lcom/xingbook/paint/b/b;->e:F

    iget v2, p0, Lcom/xingbook/paint/b/b;->g:F

    add-float/2addr v1, v2

    div-float/2addr v1, v6

    iget v2, p0, Lcom/xingbook/paint/b/b;->d:F

    iget v3, p0, Lcom/xingbook/paint/b/b;->f:F

    sub-float/2addr v2, v3

    float-to-double v2, v2

    invoke-static {v2, v3, v7, v8}, Ljava/lang/Math;->pow(DD)D

    move-result-wide v2

    iget v4, p0, Lcom/xingbook/paint/b/b;->e:F

    iget v5, p0, Lcom/xingbook/paint/b/b;->g:F

    sub-float/2addr v4, v5

    float-to-double v4, v4

    invoke-static {v4, v5, v7, v8}, Ljava/lang/Math;->pow(DD)D

    move-result-wide v4

    add-double/2addr v2, v4

    invoke-static {v2, v3}, Ljava/lang/Math;->sqrt(D)D

    move-result-wide v2

    double-to-float v2, v2

    div-float/2addr v2, v6

    invoke-virtual {p1, v0, v1, v2, p2}, Landroid/graphics/Canvas;->drawCircle(FFFLandroid/graphics/Paint;)V

    goto :goto_0
.end method

.method public toString()Ljava/lang/String;
    .locals 1

    const-string v0, " circle"

    return-object v0
.end method
